<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">
	$(function() {
		$("#delImg").click(function() {
			if(confirm("삭제하시겠습니까?")==false){
				return;
			}
			location.href = "${initParam.root}admin/cinema_delete.do?cinemaNo=${requestScope.cinamaVO.cinemaNo }";
		});
		$("#updateImg").click(function() {
			location.href = "${initParam.root}admin/cinema_updateView.do?cinemaNo=${requestScope.cinamaVO.cinemaNo }";
		});	
	});//ready	
</script>
<h3>영화관 - 상세정보</h3>
<hr align="left" width="150">
<center>
<table class="inputForm">
	<tr>
		<td>영화관 이름</td>
		<td>${requestScope.cinamaVO.name }</td>
	</tr>
	<tr>
		<td>위도</td>
		<td>
			${requestScope.cinamaVO.lat }
		</td>
	</tr>
	<tr>
		<td>경도</td><td>${requestScope.cinamaVO.lng }</td>
	</tr>
	<tr>
		<td align="center" colspan="3">
			<a href="${initParam.root}admin/cinemaList.do"><img src="${initParam.root}/img/list_btn.jpg"></a>
			<img id="updateImg" src="${initParam.root}/img/modify_btn.jpg">
			<img id="delImg"src="${initParam.root}/img/delete_btn.jpg">
		</td>
	</tr>
</table>
</center>